package com.ecs;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;

import java.util.List;

@Mojo(name = "wawayangecs",defaultPhase = LifecyclePhase.PACKAGE)
public class Ecsmojo extends AbstractMojo {

    @Parameter
    private String msg;
    @Parameter
    private List<String> listops;

    public void execute() throws MojoExecutionException, MojoFailureException {
        System.out.println("Wawayang Fist plugin "  + msg);
        System.out.println("Wawayang Fist plugin " + listops);

    }
}
